home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / tkern10.zip / GNUISH\MAKEFILE < prev    next >
Text File  |  1994-07-16  |  2KB  |  73 lines

  1. # makefile. - make the GNUish MS-DOS library
  2. # Copyright (C) 1990 by Thorsten Ohl, td12@ddagsi3.bitnet
  3. #
  4. # The GNUish MS-DOS library is free software; you can redistribute it
  5. # and/or modify it under the terms of the GNU General Public License as
  6. # published by the Free Software Foundation; either version 1, or (at your
  7. # option) any later version.
  8. #
  9. # The GNUish MS-DOS library is distributed in the hope that it will be
  10. # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12. # General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU General Public License along
  15. # with the GNUish MS-DOS library; see the file COPYING.  If not, write to
  16. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  17. #
  18. # $Header: e:/gnu/lib/RCS/makefile 1.0.0.3 90/09/19 23:21:14 tho Exp $
  19. #
  20.  
  21. .AUTODEPEND
  22.  
  23. # Where to put the library and header files.
  24.  
  25. INSTALL    = cp -v
  26. LIBDIR    = c:\src\tkern\lib
  27. INCDIR    = c:\src\tkern\include
  28.  
  29. # The floppy drive and the zip archive for backups
  30.  
  31. DISK    = b:
  32. ZIPFILE = gnulib.zip
  33.  
  34. LIBS    = gnuish.lib
  35.  
  36. DEFINES    = -DUSG -DSTDC_HEADERS -D__STDC__=1 -DMSDOS
  37.  
  38. CFLAGS    = -DSTRICT -W -ml -v -I. -I..\..\tkern\INCLUDE $(DEFINES)
  39. ARFLAGS = /noi -+
  40.  
  41. # Files
  42.  
  43. OBJS    = error.obj getopt.obj getopt1.obj glob.obj regex.obj \
  44.       xmalloc.obj xrealloc.obj ndir.obj pwd.obj _cwild.obj
  45. SRCS    = error.c getopt.c getopt1.c glob.c regex.c \
  46.       xmalloc.c xrealloc.c _cwild.c ndir.c pwd.c
  47. GNUFILES= getopt.h getopt.c getopt1.c error.c glob.c regex.h regex.c
  48.  
  49. GNUVER    = 1.1
  50.  
  51. # Main goal
  52.  
  53. .c.obj:
  54.     bcc $(CFLAGS) -c $*.c
  55.     tlib gnuish.lib /E /C -+$*.OBJ
  56.  
  57. .c.i:
  58.     cpp $(CFLAGS) $*.c
  59.  
  60. .c.asm:
  61.     bcc $(CFLAGS) -S $*.c
  62.  
  63. all: $(OBJS)
  64.  
  65. clean:
  66.     rm -fr small medium compact large DOS GNU
  67.     rm -f *.bak *.tar *.z
  68.  
  69. veryclean: clean
  70.     rm -f *.uue *.lib *.lst patches
  71.     rcsclean *.c *.h makefile
  72.  
  73.